package com.qidianit.mes.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qidianit.mes.vo.MaterialVo;
import org.apache.ibatis.annotations.Mapper;
import com.qidianit.mes.pojo.*;

import java.util.List;

@Mapper
public interface MaterialMapper extends BaseMapper<Material> {
    
    List<Material> selectMaterialPage(Material material);
    
    /**
     * 根据物料编码查询物料信息
     *
     * @param code 物料编码
     * @return 物料信息
     */
    MaterialVo selectByCode(String code);
}